<?php
function getAround($lon, $lat, $raidus)
{
    $pai    = 3.14159265;
    $degree = (24901 * 1609) / 360.0;
    $dpmLat = 1 / $degree;
    $radiusLat = $dpmLat * $raidus;
    $minLat = $lat - $radiusLat;
    $maxLat = $lat + $radiusLat;
    $mpdLng = $degree * cos($lat * ($pai / 180));
    $dpmLng = 1 / $mpdLng;
    $radiusLng = $dpmLng * $raidus;
    $minLng = $lon - $radiusLng;
    $maxLng = $lon + $radiusLng;
    return array($minLng, $maxLng, $minLat, $maxLat);
}